package com.squid.auth.model.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.squid.base.common.bean.CommonEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "token_entity")
public class TokenEntity extends CommonEntity {
    /**
     * 访问令牌
     */
    @ExcelProperty("accessToken")
    private String accessToken;
    /**
     * 刷新令牌
     */
    @ExcelProperty("refreshToken")
    private String refreshToken;
}
